package dao;

import java.util.ArrayList;

import transferobject.FullInfo;
import dao.oracle.OracleFullInfoDao.FullInfoFields;

/**
 * FullInfo DAO interface. This interface
 * needs to be implemented by the all FullInfoDAO
 * @author Ilya_Poliakov
 */
public interface FullInfoDao {

	/**
	 * return list of Items containing complete information about it
	 * @param sortingFieldName field for sorting
	 * @param isAsc sorting direction
	 * @param pageNumber page number
	 * @param itemsCountOnPage items count on page
	 * @searchString search string
	 * @return list of Items containing complete information about it
	 */
	public ArrayList<FullInfo> getFullInfoItems(FullInfoFields sortingField,
			Boolean isAsc, int pageNumber, int itemsCountOnPage, String searchString);

	/**
	 * return FullInfo item by item id
	 * @param itemId item id
	 * @return FullInfo item
	 */
	public FullInfo getFullInfoItem(int itemId);
}
